﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace WebServerX
{
    public enum HttpStatusCode
    {
        // 1xx
        [Description("100")]
        _100,
        [Description("101")]
        _101,
        [Description("102")]
        _102,

        // 2xx
        [Description("200")]
        _200,
        [Description("201")]
        _201,
        [Description("202")]
        _202,
        [Description("203")]
        _203,
        [Description("204")]
        _204,
        [Description("205")]
        _205,
        [Description("206")]
        _206,
        [Description("207")]
        _207,

        // 3xx
        [Description("300")]
        _300,
        [Description("301")]
        _301,
        [Description("302")]
        _302,
        [Description("303")]
        _303,
        [Description("304")]
        _304,
        [Description("305")]
        _305,
        [Description("306")]
        _306,
        [Description("307")]
        _307,

        // 4xx
        [Description("400")]
        _400,
        [Description("401")]
        _401,
        [Description("402")]
        _402,
        [Description("403")]
        _403,
        [Description("404")]
        _404,
        [Description("405")]
        _405,
        [Description("406")]
        _406,
        [Description("407")]
        _407,
        [Description("408")]
        _408,
        [Description("409")]
        _409,
        [Description("410")]
        _410,
        [Description("411")]
        _411,
        [Description("412")]
        _412,
        [Description("413")]
        _413,
        [Description("414")]
        _414,
        [Description("415")]
        _415,
        [Description("416")]
        _416,
        [Description("417")]
        _417,
        //[Description("418")]
        //_418, - i'm a tea pot code .. not going to implement
        [Description("422")]
        _422,
        [Description("423")]
        _423,
        [Description("424")]
        _424,
        [Description("425")]
        _425,
        [Description("426")]
        _426,
        [Description("499")]
        _499,
        [Description("450")]
        _450,

        // 5xx
        [Description("500")]
        _500,
        [Description("501")]
        _501,
        [Description("502")]
        _502,
        [Description("503")]
        _503,
        [Description("504")]
        _504,
        [Description("505")]
        _505,
        [Description("506")]
        _506,
        [Description("507")]
        _507,
        [Description("509")]
        _509,
        [Description("510")]
        _510
    }
}
